package sctu.edu.java.year2016.team01.xuhanmei.day20160526.practice.KnowInterface;

/**
 * Created by Administrator on 2016/5/26.
 */
public class Text4 {
    public static void main(String[] args) {
        Phone s = new Phone();//实例化
        s.read();
        s.write();
        WiFi wifi = s;
        wifi.switchon();
        wifi.switchoff();

    }
}
